package meterMonitor.controller;

import meterMonitor.framework.auth.AuthorityType;
import meterMonitor.framework.auth.FireAuthority;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

@RequestMapping("dataManage")
@RestController
public class DataManageController {

    /**
     * 数据管理页面
     *
     * @param mv
     * @return
     */
    @RequestMapping("dataManage.do")
    @FireAuthority(authorityTypes = AuthorityType.Query)
    public ModelAndView index(ModelAndView mv) {
        return mv;
    }
}
